package com.xinzhi.model;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author laohan
 * @since 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="SeckillActivity对象", description="")
public class SeckillActivity implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String uuid;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "副标题")
    private String subTitle;

    @ApiModelProperty(value = "封面")
    private String thumb;

    @ApiModelProperty(value = "人民币价格")
    private Integer discountMoneyPrice;

    @ApiModelProperty(value = "积分价格")
    private Integer discountScorePrice;

    @ApiModelProperty(value = "人民币价格")
    private Integer moneyPrice;

    @ApiModelProperty(value = "积分价格")
    private Integer scorePrice;

    @ApiModelProperty(value = "绑定id")
    private Integer nodeId;

    @ApiModelProperty(value = "绑定uuid")
    private String nodeUuid;

    @ApiModelProperty(value = "绑定类型")
    private String nodeType;

    @ApiModelProperty(value = "限制某人群可参与")
    private Integer userGroupId;

    @ApiModelProperty(value = "访问人数")
    private Integer visitTotal;

    @ApiModelProperty(value = "剩余库存")
    private Integer stock;

    @ApiModelProperty(value = "销量")
    private Integer sales;

    @ApiModelProperty(value = "是否强制要求绑定手机号后可参与")
    private Boolean isNeedPhone;

    @ApiModelProperty(value = "开始时间")
    private Date startAt;

    @ApiModelProperty(value = "结束时间")
    private Date endAt;

    @ApiModelProperty(value = "权重")
    private Integer listWeight;

    @ApiModelProperty(value = "0已下架 1为已上架")
    private Integer status;

    private Date deletedAt;

    private Date createdAt;

    private Date updatedAt;


}
